package cn.edu.swu.lms;

public class Main {
    public static void main(String[] args) {
        Student s1=new Student("S2024001","张三","男",20);
        Student s2=new Student("S2024002","李四","女",19);

        course c1=new course("C001","JavaWeb应用开发","刘教授");
        course c2=new course("C002","数据库原理","王老师");

        s1.setAge(21);
        c1.setTeacher("张教授");

        System.out.println("==========学生课程信息===========");
        System.out.println();

        s1.showInfo();
        s2.showInfo();

        c1.showInfo();
        c2.showInfo();
    }
}
